package com.wilmer.children.mapper;

import java.util.List;
import com.wilmer.children.domain.YwGrowthArchive;

/**
 * archiveMapper接口
 * 
 * @author hans
 * @date 2024-05-19
 */
public interface YwGrowthArchiveMapper 
{
    /**
     * 查询archive
     * 
     * @param archiveId archive主键
     * @return archive
     */
    public YwGrowthArchive selectYwGrowthArchiveByArchiveId(Long archiveId);

    /**
     * 查询archive列表
     * 
     * @param ywGrowthArchive archive
     * @return archive集合
     */
    public List<YwGrowthArchive> selectYwGrowthArchiveList(YwGrowthArchive ywGrowthArchive);

    /**
     * 新增archive
     * 
     * @param ywGrowthArchive archive
     * @return 结果
     */
    public int insertYwGrowthArchive(YwGrowthArchive ywGrowthArchive);

    /**
     * 修改archive
     * 
     * @param ywGrowthArchive archive
     * @return 结果
     */
    public int updateYwGrowthArchive(YwGrowthArchive ywGrowthArchive);

    /**
     * 删除archive
     * 
     * @param archiveId archive主键
     * @return 结果
     */
    public int deleteYwGrowthArchiveByArchiveId(Long archiveId);

    /**
     * 批量删除archive
     * 
     * @param archiveIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYwGrowthArchiveByArchiveIds(Long[] archiveIds);
}
